home *** CD-ROM | disk | FTP | other *** search
/ Avalanche Ranch: Clip Ar… Song Lyrics & Decorating / Avalanche Ranch: Clip Art, Song Lyrics & Decorating - Disc 1.iso / pc / Xtras / WIN32 / impressario / Libraries / DL6PDFL.dll / PSPROCSET / 19 < prev    next >
Text File  |  2004-12-17  |  5KB  |  195 lines

  1. %%BeginResource: procset pdflev3 6.0 1
  2. %%Copyright: Copyright 1987-2001,2003 Adobe Systems Incorporated. All Rights Reserved.
  3. %%Title: PDF operators, with code specific for Level 3
  4. /docinitialize {
  5. PDF begin
  6. /_defaulthalftone currenthalftone dd
  7. /_defaultblackgeneration currentblackgeneration dd
  8. /_defaultundercolorremoval currentundercolorremoval dd
  9. /_defaultcolortransfer [currentcolortransfer] dd
  10. /_defaulttransfer currenttransfer dd
  11. end
  12. PDFVars /docSetupDone true put
  13. } bd
  14. /_processColors
  15. currentpagedevice /ProcessColorModel getifknown
  16. { << /DeviceGray [/Gray]
  17. /DeviceRGB [/Red /Green /Blue]
  18. /DeviceCMYK [/Cyan /Magenta /Yellow /Black]
  19. /DeviceCMY [/Cyan /Magenta /Yellow]
  20. /DeviceRGBK [/Red /Green /Blue /Black]
  21. >> exch getifknown {} {[]} ifelse }
  22. {[]}
  23. ifelse
  24. def
  25. /initialize {
  26. PDFVars /docSetupDone get
  27. {
  28. _defaulthalftone sethalftone
  29. /_defaultblackgeneration load setblackgeneration
  30. /_defaultundercolorremoval load setundercolorremoval
  31. _defaultcolortransfer aload pop setcolortransfer
  32. }if
  33. false setoverprint
  34. } bd
  35. /terminate { } bd
  36. /c /curveto ld
  37. /cs /setcolorspace ld
  38. /l /lineto ld
  39. /m /moveto ld
  40. /q /gsave ld
  41. /Q /grestore ld
  42. /sc /setcolor ld
  43. /setSA/setstrokeadjust ld
  44. /re {
  45. 4 2 roll m
  46. 1 index 0 rlineto
  47. 0 exch rlineto
  48. neg 0 rlineto
  49. h
  50. } bd
  51. /rssds
  52. {
  53. /Shading get /DataSource get resetfile
  54. } bd
  55. /sh
  56. { dup /DataSource known
  57. { dup begin
  58. DataSource type /filetype eq { DataSource resetfile } if
  59. end
  60. } if
  61. shfill
  62. } [/DataSource] bld
  63. /concattransferfuncs {
  64. [ 3 1 roll /exec load exch /exec load ] cvx
  65. } bd
  66. /concatandsettransfer {
  67. /_defaulttransfer load concattransferfuncs settransfer
  68. } bd
  69. /concatandsetcolortransfer {
  70. _defaultcolortransfer aload pop
  71. 8 -1 roll 5 -1 roll concattransferfuncs 7 1 roll
  72. 6 -1 roll 4 -1 roll concattransferfuncs 5 1 roll
  73. 4 -1 roll 3 -1 roll concattransferfuncs 3 1 roll
  74. concattransferfuncs
  75. setcolortransfer
  76. } bd
  77. /defineRes/defineresource ld
  78. /undefineRes/undefineresource ld
  79. /findRes/findresource ld
  80. currentglobal
  81. true systemdict /setglobal get exec
  82. [/Function /ExtGState /Form /Shading /FunctionDictionary /MadePattern /PatternPrototype /DataSource /Image]
  83. { /Generic /Category findresource dup length dict copy /Category defineresource pop }
  84. forall
  85. systemdict /setglobal get exec
  86. /ri {
  87. /findcolorrendering isdefined?
  88. {
  89. mark exch
  90. findcolorrendering
  91. counttomark 2 eq
  92. { type /booleantype eq
  93. { dup type /nametype eq
  94. { dup /ColorRendering resourcestatus
  95. { pop pop
  96. dup /DefaultColorRendering ne
  97. {
  98. /ColorRendering findresource
  99. setcolorrendering
  100. } if
  101. } if
  102. } if
  103. } if
  104. } if
  105. cleartomark
  106. }
  107. { pop
  108. } ifelse
  109. } bd
  110. /CMYKDeviceNColorspaces [
  111. [/Separation /None /DeviceCMYK {0 0 0}] bind
  112. [/Separation (Black)
  113. /DeviceCMYK {0 0 0 4 -1 roll}] bind
  114. [/Separation (Yellow)
  115. /DeviceCMYK {0 0 3 -1 roll 0}] bind
  116. [/DeviceN [(Yellow) (Black)]
  117. /DeviceCMYK {0 0 4 2 roll}] bind
  118. [/Separation (Magenta)
  119. /DeviceCMYK {0 exch 0 0}] bind
  120. [/DeviceN [(Magenta) (Black)]
  121. /DeviceCMYK {0 3 1 roll 0 exch}] bind
  122. [/DeviceN [(Magenta) (Yellow)]
  123. /DeviceCMYK {0 3 1 roll 0}] bind
  124. [/DeviceN [(Magenta) (Yellow) (Black)]
  125. /DeviceCMYK {0 4 1 roll}] bind
  126. [/Separation (Cyan)
  127. /DeviceCMYK {0 0 0}] bind
  128. [/DeviceN [(Cyan) (Black)]
  129. /DeviceCMYK {0 0 3 -1 roll}] bind
  130. [/DeviceN [(Cyan) (Yellow)]
  131. /DeviceCMYK {0 exch 0}] bind
  132. [/DeviceN [(Cyan) (Yellow) (Black)]
  133. /DeviceCMYK {0 3 1 roll}] bind
  134. [/DeviceN [(Cyan) (Magenta)]
  135. /DeviceCMYK {0 0}] bind
  136. [/DeviceN [(Cyan) (Magenta) (Black)]
  137. /DeviceCMYK {0 exch}] bind
  138. [/DeviceN [(Cyan) (Magenta) (Yellow)]
  139. /DeviceCMYK {0}] bind
  140. [/DeviceCMYK] bind
  141. ] def
  142. /nzopmsc {
  143. 6 dict begin
  144. /kk exch def
  145. /yy exch def
  146. /mm exch def
  147. /cc exch def
  148. /sum 0 def
  149. cc 0 ne {/sum sum 2#1000 or def cc} if
  150. mm 0 ne {/sum sum 2#0100 or def mm} if
  151. yy 0 ne {/sum sum 2#0010 or def yy} if
  152. kk 0 ne {/sum sum 2#0001 or def kk} if
  153. CMYKDeviceNColorspaces sum get setcolorspace
  154. sum 0 eq {0} if
  155. end
  156. setcolor
  157. } [/cc /mm /yy /kk /sum] bld
  158. /every? {
  159. true
  160. 3 2 roll
  161. { 2 index exec not {pop false exit} if } forall
  162. exch pop
  163. } bd
  164. /knownColorants? {
  165. 3 dict begin
  166. /colorants exch def
  167. {
  168. /DeviceN /ColorSpaceFamily findresource pop
  169. /cpd currentpagedevice def
  170. /dc 10 dict def
  171. cpd /SeparationColorNames getifknown
  172. { { dc exch 0 put } forall } if
  173. _processColors { dc exch 0 put } forall
  174. colorants {dc exch known} every?
  175. } stopped
  176. { false }
  177. if
  178. end
  179. } [/colorants /dc /cpd] bld
  180. /getrampcolor {
  181. cvi
  182. /indx exch def
  183. 0 1 NumComp 1 sub {
  184. dup
  185. Samples exch get
  186. dup type /stringtype eq { indx get } if
  187. exch
  188. Scaling exch get aload pop
  189. 3 1 roll
  190. mul add
  191. } for
  192. setcolor
  193. } bd
  194. %%EndResource
  195.